// 表单字段类型定义
const FormDataType = [
    "number",    // id
    "number",    // orderId
    "number",    // ruleId
    "number",    // orderAmount
    "number",    // paymentRate
    "number",    // paymentFee
    "number",    // driverTaxRate
    "number",    // driverTaxFee
    "number",    // platformIncome
    "number",    // driverIncome
    "number",    // status
    "dateTime",  // createTime
    "dateTime",  // updateTime
    "number"     // isDeleted
];

// 表单默认数据
const FormData = {
    id: null,
    orderId: null,
    ruleId: null,
    orderAmount: null,
    paymentRate: null,
    paymentFee: null,
    driverTaxRate: null,
    driverTaxFee: null,
    platformIncome: null,
    driverIncome: null,
    status: null,
    createTime: null,
    updateTime: null,
    isDeleted: null
};

// 字段标签
const labels = {
    id: "主键",
    orderId: "订单ID",
    ruleId: "规则ID",
    orderAmount: "订单金额",
    paymentRate: "微信支付平台费率",
    paymentFee: "微信支付平台费用",
    driverTaxRate: "代驾司机代缴个税税率",
    driverTaxFee: "代驾司机税率支出费用",
    platformIncome: "平台分账收入",
    driverIncome: "司机分账收入",
    status: "分账状态",
    createTime: "创建时间",
    updateTime: "修改时间",
    isDeleted: "是否删除"
};

// 选项配置
const options = {
    status: [
        { value: 1, label: "未分账" },
        { value: 2, label: "已分账" }
    ],
    isDeleted: [
        { value: 0, label: "未删除" },
        { value: 1, label: "已删除" }
    ]
};

// 表格列配置


// 统一导出配置
export const OrderSplitAccountConfig = {
    FormData,
    FormDataType,
    labels,
    options
};

export default OrderSplitAccountConfig;